<script src="/layui/folder-icon/iconfont.js"></script>
<style>
    .icon {
        width: 1.5em;
        height: 1.5em;
        vertical-align: -0.15em;
        fill: currentColor;
        overflow: hidden;
    }
</style>

<div class="layui-card layadmin-header">
    <div id="folder-path" class="layui-breadcrumb" lay-filter="breadcrumb">
    </div>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-upload">
                        <button id="create" type="button" class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-add-1"></i>创建文件夹</button>
                        <button id="upload" type="button" class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-upload"></i>上传</button>
                        <div class="layui-upload-list">
                            <table class="layui-table" frame="void">
                                <thead><tr>
                                    <th>文件名/夹</th>
                                    <th>大小</th>
                                    <th>时间</th>
                                    <th>操作</th>
                                </tr></thead>
                                <tbody id="tbody"></tbody>
                            </table>
                            <div id="lay-page"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<span id="folderID" hidden>-1</span>
<span id="name" hidden>全部文件</span>

<script>
    var $, jQuery;
    layui.use("jquery", function () {
        $ = layui.$;
        jQuery = layui.$;
    })
</script>

<script type="text/javascript" src="https://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
<script src="/js/controller/resource.js"></script>